import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations'
import getters from './getters'
import modules from './modules'
import actions from './actions'


Vue.use(Vuex)
const state = {
    checkedMenu:'',//路由跳转，记录跳转页面的title
    serverPass:'',//用来记录记录接口是否调用完成
}

export default new Vuex.Store({
    state,
    mutations,
    getters,
    modules,
    actions
})

